const getselects = (fields) => {
    const fieldsarr = fields ? fields.split(";") : [];
    const selects = fieldsarr
        .filter((f) => f !== "")
        .map((field) => `+${field} `)
        .join("");
    return selects;
};

module.exports = { getselects };
